<%--
  Created by IntelliJ IDEA.
  User: chuHa
  Date: 2017/11/29
  Time: 14:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<jsp:include page="../common/common.jsp"/>
<script type="text/javascript" src="/static/js/system/department.js"></script>
<style>
    .boxWidth{
        width: 300px !important;
    }
</style>
<script>
    $(function () {
        $(".textbox-prompt").addClass("boxWidth");
    })
</script>
<head>
    <title>部门列表</title>
</head>
<body>
<table id="dept_list"></table>

<div id="dept_toolbar">
    <a class="easyui-linkbutton" href="#" iconCls="icon-add" plain="true" data-cmd="add">新增</a>
    <a class="easyui-linkbutton" href="#" iconCls="icon-edit" plain="true" data-cmd="edit">编辑</a>
    <a id="btn_state" class="easyui-linkbutton" href="#" iconCls="icon-cancel" plain="true" data-cmd="changeState">状态</a>
    <a class="easyui-linkbutton" href="#" iconCls="icon-reload" plain="true" data-cmd="reload">刷新</a>
</div>

<div id="dept_dialog">
    <form id="dept_form" method="post" style="margin-top: 20px">
        <table style="margin: 0 auto">
            <input type="hidden" name="id">
            <tr>
                <td><input label="部门名称" type="text" class="easyui-textbox" name="name"
                           style="width: 250px;" labelWidth="90px"></td>
            </tr>
            <tr>
                <td><input label="部门代号" type="text" class="easyui-textbox" name="sn"
                           style="width: 250px;" labelWidth="90px"></td>
            </tr>
        </table>
    </form>

    <div id="dept_diaButtons">
        <a href="#" class="easyui-linkbutton" iconCls="icon-save" data-cmd="save">提交</a>
        <a href="#" class="easyui-linkbutton" iconCls="icon-cancel" data-cmd="cancel">关闭</a>
    </div>
</div>
</body>
</html>
